#ifndef __CONFIG_H
#define __CONFIG_H
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
#ifndef UNTPTR
typedef unsigned int *UNTPTR; ///这里需要注意如果不是32位系统这里需要根据系统走
#endif 
#ifndef HANDLEID
typedef uint32_t HANDLEID;
#endif

#ifdef LITE_LINUX_BINDER_IPC
#define MAX_STACK_SIZE 0x100000
#else
#define MAX_STACK_SIZE 0x1000
#endif

#ifndef MAX_EVENT_POOL_SIZE
#define MAX_EVENT_POOL_SIZE 63UL
#endif


#if defined(__CC_ARM)
#define INLINE __inline
#define STATIC_INLINE static __inline
#elif defined(__ICCARM__)
#define OINLINE inline
#define OSTATIC_INLINE static inline
#elif defined(__GUNC__)

#define INLINE inline
#define STATIC_INLINE static inline
#endif
#ifndef  CIRCLEFOREVER 0xffffffff
#ifndef 
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif
#endif